Chris Pollett > Old Classses >
CS116b/216

( Print View )

Student Corner:
  [Grades Sec1]
  [Submit Sec1]
  [Class Sign Up Sec1]
  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [Class Protocols]
  [HW/Quiz Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]  [Quizzes]

Practice Exams:
  [Midterm]  [Final]

                           












CS116b/216 Spring 2014Practice Midterm

To study for the midterm I would suggest you: (1) Know how to do (by heart) all the practice problems. (2) Go over your notes at least three times. Second and third time try to see how much you can remember from the first time. (3) Go over the homework problems. (4) Try to create your own problems similar to the ones I have given and solve them. (5) Skim the relevant sections from the book. (6) If you want to study in groups, at this point you are ready to quiz each other. The practice midterm is below. Here are some facts about the actual midterm: (a) It is closed book, closed notes. Nothing will be permitted on your desk except your pen (pencil) and test. (b) You should bring photo ID. (c) There will be more than one version of the test. Each version will be of comparable difficulty. (d) One problem (less typos) on the actual test will be from the practice test.

  1. What are the four main parts of the graphics pipeline?
  2. Give the code to create a minimal OpenGL shader program.
  3. Give the code for a simple GLSL fragment shader that sets its output color to that of a point sampled from a texture.
  4. Briefly define the following kinds of texture mapping: (a) normal mapping, (b) cube mapping, (c) projector texture mapping.
  5. Give a C++ data structure that could be used to store a convex polyhedra. Make sure it has a coded method which could be used to draw it in OpenGL.
  6. Explain and give an example of how fractal dimension is calculated. Explain how terrain can be generated using Fractional Brownian Motion.
  7. Give all the control points for the 2D Bessel Overhauser spline than goes through the point (0,0), (1/2, 1/2), (0,1), (1/8, 1.5), (0, 2), (1/2, 2.5). Space knots according to the chord length between adjacent points.
  8. Define the following terms related to sampling: (a) box filter, (b) supersampling, (c) multisampling.
  9. Give the pseudocode to perform bilinear reconstruction of a continuous image from a discrete image stored with coordinates in an array image[][].
  10. Explain what mipmapping is.